﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YYShipmentAdd.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.YYModel.YYShipmentAdd" %>

<script type="text/javascript">
    $(document).ready(function () {
        $("#YYShipmentAddSerialNumber").change(function () {
            var $str = $(this).val();
            $str = $str.replace(" ", "");
            $str = $str.replace("，", ",");
            $(this).val($str);
        })
    })
</script>
<div class="pageContent">
	<form method="post" action="YYModel/YYShipmentAdd.aspx?ajaxmethod=add" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="58">             
			
                <p>
				    <label>订单日期：</label>
                    <input name="OrderDate" type="text" value="" class="date"/>
			   </p>
               <p>
				    <label>经 销 商：</label>
                    <input name="AgentName" type="text" value="" class="required textInput autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getagentlist" swidth="300"/>
			   </p>
              
              <div class="divider"></div>
              <p>
				    <label>机型：</label>
				    <input  name="MacType" class="required" type="text" value="" size="" alt=""/>
                 
			   </p>     
            
               <p>
				    <label>预计出货日期：</label>
				    <input name="ExpectOutDate" class="date " type="text" value="" alt=""/>
			   </p>
                      
               <p>
                    <label>出货类型:</label>
                    <select name="ShippingType"　class="required"　>
                            <option value="" selected>请选择...</option>
                            <option value="买断">买断</option>
                            <option value="样机">样机</option>
                     </select>
                </p>
                <div class="divider"></div>
                   
                <label>机号：</label>
                <input  name="SerialNumber" id="YYShipmentAddSerialNumber" class="" type="text" value="" size="50" alt=""/>
                
                <div class="divider"></div>
                <label>备注：</label>
				<textarea name="Remark" cols="80" rows="4" ></textarea>
                <div style="clear:both;margin-bottom: 5px;"></div>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">添加</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>
